package com.dao.primary.machine;
import com.model.domain.machine.GetMachineInfoDO;
import com.model.pojo.machine.MachineInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MachineInfoMapper {
    int deleteByPrimaryKey(@Param("machineInfoId") Long machineInfoId);

    int insert(MachineInfo record);

    int insertSelective(MachineInfo record);

    MachineInfo selectByPrimaryKey(@Param("id") Long id);

    MachineInfo selectByTerminalNum(@Param("terminalNum") String terminalNum);
    int updateByPrimaryKeySelective(MachineInfo record);

    int updateByPrimaryKey(MachineInfo record);

    List<MachineInfo> selectList(GetMachineInfoDO getmachineInfoDO);

    void insertListSelective(List<MachineInfo> machineInfoList);

    void updateListSelective(List<MachineInfo> machineInfoList);

    int has(@Param("machineInfoId") Long machineInfoId, @Param("isDelete") Byte isDelete);
}